[INFO] fetching crate yaml-adapter 0.1.0...
[INFO] documenting yaml-adapter-0.1.0 against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] extracting crate yaml-adapter 0.1.0 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate yaml-adapter 0.1.0 on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate yaml-adapter 0.1.0
[INFO] finished tweaking crates.io crate yaml-adapter 0.1.0
[INFO] tweaked toml for crates.io crate yaml-adapter 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31bfc79c7f0697b32f0dce9df0923784cf4cd0b8b763e211e49308f7b9527e46
[INFO] running `Command { std: "docker" "start" "-a" "31bfc79c7f0697b32f0dce9df0923784cf4cd0b8b763e211e49308f7b9527e46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31bfc79c7f0697b32f0dce9df0923784cf4cd0b8b763e211e49308f7b9527e46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31bfc79c7f0697b32f0dce9df0923784cf4cd0b8b763e211e49308f7b9527e46", kill_on_drop: false }`
[INFO] [stdout] 31bfc79c7f0697b32f0dce9df0923784cf4cd0b8b763e211e49308f7b9527e46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 915d24bc78e3b306b78007b55725a7a1d851f0f2ea983beb92775f1646360e66
[INFO] running `Command { std: "docker" "start" "-a" "915d24bc78e3b306b78007b55725a7a1d851f0f2ea983beb92775f1646360e66", kill_on_drop: false }`
[INFO] [stderr]     Checking casbin v2.0.9
[INFO] [stdout] error[E0252]: the name `IoError` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |                     ---------------- previous import of the type `IoError` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     io::{Error as IoError, ErrorKind},
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^--
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `IoError` reimported here
[INFO] [stdout]    |          help: remove unnecessary import
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoError` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `ErrorKind` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |                                       --------- previous import of the type `ErrorKind` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     io::{Error as IoError, ErrorKind},
[INFO] [stdout]    |                            ^^^^^^^^^ `ErrorKind` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     path::Path,
[INFO] [stdout]    |     ---------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |     path::Path,
[INFO] [stdout]    |     ^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 21 |     path::Path as OtherPath,
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `File` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fs::File,
[INFO] [stdout]    |     -------- previous import of the type `File` here
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fs::File,
[INFO] [stdout]    |     ^^^^^^^^ `File` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `File` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fs::File as OtherFile,
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `BufReader` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:26:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     io::{BufReader, Error as IoError, ErrorKind},
[INFO] [stdout]    |          --------- previous import of the type `BufReader` here
[INFO] [stdout] ...
[INFO] [stdout] 26 |     io::{AsyncBufReadExt, AsyncWriteExt, BufReader},
[INFO] [stdout]    |                                          ^^^^^^^^^ `BufReader` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufReader` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 26 |     io::{AsyncBufReadExt, AsyncWriteExt, BufReader as OtherBufReader},
[INFO] [stdout]    |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Cursor` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                     ------ previous import of the type `Cursor` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path};
[INFO] [stdout]    |           ^^^^^^^^^^ `Cursor` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cursor` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::{io::Cursor as OtherCursor, path::Path};
[INFO] [stdout]    |           ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::{fs::File, path::Path};
[INFO] [stdout]    |                           ---------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path};
[INFO] [stdout]    |                       ^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::{io::Cursor, path::Path as OtherPath};
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `BufReader` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |          --------- previous import of the type `BufReader` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                    ^^^^^^^^^ `BufReader` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufReader` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader as OtherBufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `IoError` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:16:47
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                             ---------------- previous import of the type `IoError` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^--
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               `IoError` reimported here
[INFO] [stdout]    |                                               help: remove unnecessary import
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoError` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `ErrorKind` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 6  |     io::{BufReader, Cursor, Error as IoError, ErrorKind},
[INFO] [stdout]    |                                               --------- previous import of the type `ErrorKind` here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     AsyncBufReadExt, AsyncReadExt, BufReader, Error as IoError, ErrorKind,
[INFO] [stdout]    |                                                                 ^^^^^^^^^-
[INFO] [stdout]    |                                                                 |
[INFO] [stdout]    |                                                                 `ErrorKind` reimported here
[INFO] [stdout]    |                                                                 help: remove unnecessary import
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `File` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/config.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::{fs::File, path::Path};
[INFO] [stdout]    |                 -------- previous import of the type `File` here
[INFO] [stdout] ...
[INFO] [stdout] 20 | use tokio::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ `File` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `File` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio::fs::File as OtherFile;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Path` is defined multiple times
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/model/default_model.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use async_std::path::Path;
[INFO] [stdout]    |     --------------------- previous import of the type `Path` here
[INFO] [stdout] ...
[INFO] [stdout] 20 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ `Path` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Path` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::path::Path as OtherPath;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_line` found for struct `async_std::io::Lines` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:66:38
[INFO] [stdout]    |
[INFO] [stdout] 66 |         while let Some(line) = lines.next_line().await? {
[INFO] [stdout]    |                                      ^^^^^^^^^ method not found in `async_std::io::Lines<async_std::io::BufReader<async_std::fs::File>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next_line` found for struct `async_std::io::Lines` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/casbin-2.0.9/src/adapter/file_adapter.rs:91:38
[INFO] [stdout]    |
[INFO] [stdout] 91 |         while let Some(line) = lines.next_line().await? {
[INFO] [stdout]    |                                      ^^^^^^^^^ method not found in `async_std::io::Lines<async_std::io::BufReader<async_std::fs::File>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `casbin` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "915d24bc78e3b306b78007b55725a7a1d851f0f2ea983beb92775f1646360e66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "915d24bc78e3b306b78007b55725a7a1d851f0f2ea983beb92775f1646360e66", kill_on_drop: false }`
[INFO] [stdout] 915d24bc78e3b306b78007b55725a7a1d851f0f2ea983beb92775f1646360e66
